The Code Snippets sidebar allows you to store snippets of custom code and insert them easily. Snippets are managed in an explorer interface, similar to the Local Files sidebar. Folder TreeviewThe top part of the sidebar displays all the code snippets subfolders. You can add and remove folders from this treeview. When you highlight a folder in the treeview, the list at the bottom of the sidebar is populated with the snippet files found in that folder. Context Menu:The New Folder command creates a new child folder under the selected folder. The Delete Folder command deletes the selected folder and all the snippets it contains. Snippet Files ListThe list displays the snippets in the currently selected folder. Double-click on a snippet file to insert it into the current document. When you insert a snippet into an open document, its starting code is placed before the current selection in the document and the ending code is placed after the current selection.Context Menu:
The Refresh command refreshs the snippet file list for the selected folder. The Rename command allows you to rename the selected snippet file. Code Snippet Properties DialogSnippets are edited via a dialog which allows you to specify the name of the snippet, its starting code, and ending code. You can also use the Import buttons to import text from a text file into the Start Text and End Text textboxes. Spider Writer Code PackSpider Writer comes packaged with some pre-existing snippets in a folder called Spider Writer Code Pack:
|
![]() |